<!DOCTYPE html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>注册</title>
    <link rel="stylesheet" type="text/css" href="/css/register.css">
</head>
<body>
    <div class="login">
        <form action="/register" method="post">
            <h2>注册</h2>
            <span th:text="${msg}"></span>
            <br>
            <div class="login_form">
                <span>用户名：</span>
                <input type="text" placeholder="请输入用户名" name="userName" \>
                <br>
                <span>密码：</span>
                <input type="text" placeholder="请输入密码" name="userPassword" \>
                <br>
                <span>性别：</span>
                <input type="text" placeholder="请输入性别" name="userSex" \>
                <br>
                <span>年龄</span>
                <input type="text" placeholder="请输入年龄" name="userAge" \>
                <br>
                <span>邮箱</span>
                <input type="text" placeholder="请输入邮箱" name="userEmail" \>
            </div>
            <input type="submit" value="注册" class="login_btn">
        </form>
    </div>
</body>
</html>